.TH "libexec/udplink.c" 3 "14 Sep 2011" "Version 0.4.1" "Content-Centric Networking in C" \" -*- nroff -*-
.ad l
.nh
.SH NAME
libexec/udplink.c \- A CCNx link adaptor for UDP. 
.SH SYNOPSIS
.br
.PP
.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBAI_ADDRCONFIG\fP   0"
.br
.ti -1c
.RI "#define \fBUDPMAXBUF\fP   8800"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBudplink_fatal\fP (int line, char *format,...)"
.br
.ti -1c
.RI "void \fBusage\fP (char *name)"
.br
.ti -1c
.RI "void \fBudplink_note\fP (char *format,...)"
.br
.ti -1c
.RI "void \fBudplink_print_data\fP (char *source, unsigned char *data, int start, int length, int logging)"
.br
.ti -1c
.RI "ssize_t \fBsend_remote_unencapsulated\fP (int s, struct addrinfo *r, unsigned char *buf, size_t start, size_t length)"
.br
.ti -1c
.RI "void \fBprocess_options\fP (int argc, char *const argv[], struct options *opt)"
.br
.ti -1c
.RI "void \fBset_multicast_sockopt\fP (int socket_r, int socket_w, struct addrinfo *ai, struct options *opt)"
.br
.ti -1c
.RI "void \fBchangeloglevel\fP (int s)"
.br
.ti -1c
.RI "int \fBmain\fP (int argc, char *const argv[])"
.br
.in -1c
.SH "Detailed Description"
.PP 
A CCNx link adaptor for UDP. 

\fBNote:\fP
.RS 4
Normally ccnd handles UDP directly, so this module is not used.
.RE
.PP
A CCNx program.
.PP
Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
.PP
This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
.PP
Definition in file \fBudplink.c\fP.
.SH "Define Documentation"
.PP 
.SS "#define AI_ADDRCONFIG   0"
.PP
Definition at line 43 of file udplink.c.
.SS "#define UDPMAXBUF   8800"
.PP
Definition at line 51 of file udplink.c.
.PP
Referenced by main().
.SH "Function Documentation"
.PP 
.SS "void changeloglevel (int s)"
.PP
Definition at line 321 of file udplink.c.
.PP
Referenced by main().
.SS "int main (int argc, char *const  argv[])"
.PP
Definition at line 336 of file udplink.c.
.SS "void process_options (int argc, char *const  argv[], struct options * opt)"
.PP
Definition at line 139 of file udplink.c.
.PP
Referenced by main().
.SS "ssize_t send_remote_unencapsulated (int s, struct addrinfo * r, unsigned char * buf, size_t start, size_t length)"
.PP
Definition at line 128 of file udplink.c.
.PP
Referenced by main().
.SS "void set_multicast_sockopt (int socket_r, int socket_w, struct addrinfo * ai, struct options * opt)"
.PP
Definition at line 248 of file udplink.c.
.PP
Referenced by main().
.SS "void udplink_fatal (int line, char * format,  ...)"
.PP
Definition at line 86 of file udplink.c.
.PP
Referenced by main(), process_options(), and set_multicast_sockopt().
.SS "void udplink_note (char * format,  ...)"
.PP
Definition at line 99 of file udplink.c.
.PP
Referenced by changeloglevel(), main(), process_options(), set_multicast_sockopt(), and udplink_print_data().
.SS "void udplink_print_data (char * source, unsigned char * data, int start, int length, int logging)"
.PP
Definition at line 111 of file udplink.c.
.PP
Referenced by main().
.SS "void usage (char * name)"
.PP
Definition at line 81 of file udplink.c.
.SH "Author"
.PP 
Generated automatically by Doxygen for Content-Centric Networking in C from the source code.
